Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Traversing Mesh Components, Vertices, Faces, and Edges


Q3Mesh_FirstComponentEdge

You can use the Q3Mesh_FirstComponentEdge function to get the first edge in a mesh component.

TQ3MeshEdge Q3Mesh_FirstComponentEdge (
TQ3MeshComponent component, 
TQ3MeshIterator *iterator);
component
A mesh component.
iterator
A pointer to a mesh iterator structure.
DESCRIPTION
The Q3Mesh_FirstComponentEdge function returns, as its function result, the first edge in the mesh component specified by the component parameter. The iterator parameter is a pointer to a mesh iterator structure that Q3Mesh_FirstComponentEdge fills in before returning. You should pass the address of that structure to the Q3Mesh_NextComponentEdge function.

SPECIAL CONSIDERATIONS
The Q3Mesh_FirstComponentEdge function might not accurately report the first edge in a mesh component if called while mesh updating is delayed (that is, after a call to Q3Mesh_DelayUpdates but before the matching call to Q3Mesh_ResumeUpdates).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996